import axios from '@/utils/request'

export const getData = params => axios.get('/admin/interview/query', { params })
export const setArticle = data => axios.post('/admin/interview/create', data)
export const getArticle = id => axios.get('/admin/interview/show', {params: {id}})
export const editArticle = data => axios.put('/admin/interview/update', data)
export const delArticle = data => axios({
    method: 'delete',
    url: '/admin/interview/remove',
    data
})